import pandas as pd

def read_excel(path):
    df = pd.read_excel(path)
    data = []
    for index, row in df.iterrows():
        # 将pandas类型转换为Python原生类型
        username = str(row['username'])  # 转换为字符串
        password = str(row['password'])  # 转换为字符串
        data.append((username, password))
    return data